# Contributor: Sascha Paunovic <azarus@posteo.net>
# Maintainer: Sascha Paunovic <azarus@posteo.net>
pkgname=quark
pkgver=20180617
_commit=ba38b0969f542e6e7d3f01ba500189a81ca32355 # there are no releases
pkgrel=0
pkgdesc="quark web server"
url="https://tools.suckless.org/quark/"
arch="" # commit no longer available
license="ISC"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="https://git.suckless.org/$pkgname/snapshot/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="d74b9fa2315ae92a9048d8d9b82075986c2bab13ed85f4827ef39083fee9eaede880611b48b3359f7ead2901f0ffd261257c23066a82717697d78f924ac655fd  quark-ba38b0969f542e6e7d3f01ba500189a81ca32355.tar.gz"
